package com.heima.article.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.article.dto.ArticleDto;
import com.heima.model.common.article.dto.ArticleHomeDto;
import com.heima.model.common.article.pojos.ApArticle;
import com.heima.model.common.dtos.ResponseResult;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ArticleService extends IService<ApArticle> {

    ResponseResult selectApArticle(ArticleHomeDto dto, Short type);

    /**
     * 保存app端相关文章
     * @param dto
     * @return
     */

    ResponseResult saveArticle(ArticleDto dto);
}
